package com.raptor.rabbitmq.product.exchange;

import com.raptor.rabbitmq.common.ProductContext;
import com.raptor.rabbitmq.common.RabbitConstant;
import com.raptor.rabbitmq.common.Send;
import com.raptor.rabbitmq.exception.RabbitMQException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component(RabbitConstant.FANOUT)
public class FanoutProducer implements Send {


    @Autowired
    private org.springframework.amqp.rabbit.core.RabbitTemplate RabbitTemplate;

    @Override
    public void send(ProductContext context) throws RabbitMQException {

    }

    @Override
    public void close() {

    }
}
